﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Crossroad.System.User.Model
{
    ///<summary>
    ///用户身份信息
    ///</summary>
    [SugarTable("user_identity")]
    public partial class UserIdentity : ModelContext
    {
        public UserIdentity()
        {
        }

        /// <summary>
        /// Desc:性别
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string gender { get; set; }

        /// <summary>
        /// Desc:用户id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public int id { get; set; }

        /// <summary>
        /// Desc:身份证号
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "id_card")]
        public string idCard { get; set; }

        /// <summary>
        /// Desc:省
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string province { get; set; }

        /// <summary>
        /// Desc:姓名
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "real_name")]
        public string realName { get; set; }

        /// <summary>
        /// Desc:区/县
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string region { get; set; }

        /// <summary>
        /// Desc:地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string address { get; set; }

        /// <summary>
        /// Desc:市
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string city { get; set; }

    }
}
